EntryViewScreen

fun EntryViewScreen(modifier: Modifier = Modifier, viewModel: JournalViewModel = hiltViewModel(), id: String? = null, openDrawer: () -> Unit, onNavigateBack: () -> Unit, onNavigateToEntryEdit: (String) -> Unit)

Composable, Displays the entry view screen, where users can see the details of a selected journal entry. It has options to navigate back to the journaling screen or edit the current entry.

Parameters

modifier

Modifier to be applied to the composable.

viewModel

The ViewModel providing the UI state.

id

The ID of the JounralEntry to view.

openDrawer

A lambda to open the navigation drawer.

onNavigateBack

A lambda to navigate back to the journaling screen.

onNavigateToEntryEdit

A lambda to navigate to the entry edit screen.